package mju.cxf.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import mju.cxf.dto.SalesDTO;
import mju.cxf.entity.Sales;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SalesMapper extends BaseMapper<Sales> {

    Page<SalesDTO> selectPageVo(@Param("page") Page<SalesDTO> page,String name,Integer state);

    Sales selectSpecifications(Integer id);

    Sales selectOrderNumber(String orderNumber);
}
